package com.itjin.resume_back.config;

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Contact;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Knife4jConfig {

  @Bean
  public OpenAPI customOpenAPI() {
    return new OpenAPI()
        .info(new Info()
            .title("简历与项目管理平台API文档")
            .description("简历与项目管理平台接口文档")
            .contact(new Contact().name("开发者").email("your-email@example.com"))
            .version("1.0.0"));
  }
}